import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import Services from '../views/Services.vue'
import About from '../views/About.vue'
import Contact from '../views/Contact.vue'
import Join from '../views/Join.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect: '/home'
    },
    {
      path: '/home',
      name: 'home',
      component: Home
    },
    {
      path: '/services',
      name: 'services',
      component: Services
    },
    {
      path: '/about',
      name: 'about',
      component: About
    },
     {
      path: '/join',
      name: 'join',
      component: Join
    },
    {
      path: '/contact',
      name: 'contact',
      component: Contact
    }
  ]
})

export default router 